﻿using LightSwitchApplication.Export;
// <copyright file="DomainProvincesGM.cs" company="Gravity Age Studios">
// Code released under the MIT license (see License.txt).
// </copyright>
// <author>Vicente Cartas Espinel</author>
// <email>vicente.cartas@gmail.com</email>
using LightSwitchApplication.Import;
namespace LightSwitchApplication
{
    public partial class DomainProvincesGM
    {
        #region Edit DomainProvince

        partial void gridEditSelected_CanExecute(ref bool result)
        {
            result = this.Collection.SelectedItem != null;
        }

        partial void gridEditSelected_Execute()
        {
            this.Application.ShowDomainProvinceEditGM(this.Collection.SelectedItem.Id);
        }

        #endregion
    }
}
